package com.cmwa.scbp.business.myHome.todo.entity;

import java.util.ArrayList;
import java.util.List;

import org.apache.commons.lang3.StringUtils;
import org.apache.ibatis.type.Alias;

import com.cmwa.scbp.utils.cached.DictionaryCached;

@Alias("overviewData")
public class OverviewData {
	/** 服务类型 */
	private String serviceType;
	/** 服务类型 */
	private String serviceTypeName;
	/** 类型 */
	private String todoType;
	/** 类型名称 */
	private String todoTypeName;
	/** 待办明细 */
	private List<TodoVo> toUploadList;
	private List<TodoVo> toConfirmList;
	private List<TodoVo> toProcessList;
	private List<TodoVo> complateList;
	
	

	public OverviewData() {
		toUploadList = new ArrayList<TodoVo>();
		toConfirmList = new ArrayList<TodoVo>();
		toProcessList = new ArrayList<TodoVo>();
		complateList = new ArrayList<TodoVo>();
	}

	public String getServiceType() {
		return serviceType;
	}

	public void setServiceType(String serviceType) {
		this.serviceType = serviceType;
	}

	public String getTodoType() {
		return todoType;
	}

	public void setTodoType(String todoType) {
		this.todoType = todoType;
	}

	public String getTodoTypeName() {
		if (StringUtils.isNotEmpty(todoType)) {
			return DictionaryCached.getDictName("TODO_TYPE", todoType);
		}
		return todoTypeName;
	}

	public void setTodoTypeName(String todoTypeName) {
		this.todoTypeName = todoTypeName;
	}
	
	public String getServiceTypeName() {
		if (StringUtils.isNotEmpty(serviceType)) {
			return DictionaryCached.getDictName("SERVICE_TYPE", serviceType);
		}
		return serviceTypeName;
	}

	public void setServiceTypeName(String serviceTypeName) {
		this.serviceTypeName = serviceTypeName;
	}

	public List<TodoVo> getToUploadList() {
		return toUploadList;
	}

	public void setToUploadList(List<TodoVo> toUploadList) {
		this.toUploadList = toUploadList;
	}

	public List<TodoVo> getToConfirmList() {
		return toConfirmList;
	}

	public void setToConfirmList(List<TodoVo> toConfirmList) {
		this.toConfirmList = toConfirmList;
	}

	public List<TodoVo> getToProcessList() {
		return toProcessList;
	}

	public void setToProcessList(List<TodoVo> toProcessList) {
		this.toProcessList = toProcessList;
	}

	public List<TodoVo> getComplateList() {
		return complateList;
	}

	public void setComplateList(List<TodoVo> complateList) {
		this.complateList = complateList;
	}

}
